<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Home_model extends MY_Model {
	
	function getMenu(){
		$this->db->where('status',1);
		$this->db->order_by('order','ASC');
		$query=$this->db->get('menu');
		
		if($query->result()){
			return $query->result();	
		}else{
			return false;	
		}
	}
}
?>